package com.company.cloud.article.modules.mgr.controller.req;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.company.cloud.common.bean.BaseParam;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class ArticleCategorySaveParam extends BaseParam {

	@ApiModelProperty(value = "父级分类的ID", required = true)
	@NotNull(message = "父级分类不能为空")
	private Integer pid;

	@ApiModelProperty(value = "标题")
	private String title;

	@ApiModelProperty(value = "内容")
	private String content;

	@ApiModelProperty(value = "摘要")
	private String summary;

	@ApiModelProperty(value = "图标")
	private String icon;

	@ApiModelProperty(value = "类型")
	private String type;

	@ApiModelProperty(value = "排序")
	private Integer orders = 0;

	@ApiModelProperty(value = "SEO关键字")
	private String metaKeywords;

	@ApiModelProperty(value = "SEO描述内容")
	private String metaDescription;

	//=======================
	@ApiModelProperty(value = "标题EN")
	private String titleEn;

	@ApiModelProperty(value = "内容EN")
	private String contentEn;

	@ApiModelProperty(value = "摘要EN")
	private String summaryEn;

	@ApiModelProperty(value = "SEO关键字EN")
	private String metaKeywordsEn;

	@ApiModelProperty(value = "SEO描述内容EN")
	private String metaDescriptionEn;

}
